﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataAccess_Layer
{
    public static class Log_DAC
    {
        
        public static void Insert(LogAction nc)
        {
            try
            {
                DataClasses_RetailerDataContext context = DataAccessHelper.DB;
                context.LogActions.InsertOnSubmit(nc);
                DataAccessHelper.Save();
            }
            catch (Exception e)
            {
                string a = e.ToString();
            }
        }

    }
}
